package com.rayc.mall.address.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rayc.mall.address.domain.po.Address;
import com.rayc.mall.address.domain.query.AddressPageQuery;

/**
 * @Author: Ray-C
 * @CreateTime: 2025-03-25
 * @Description: 地址service接口
 * @Version: 1.0
 */
public interface IAddressService extends IService<Address> {

    void updateIsDefault(Long id, Boolean isDefault);

    Page<Address> search(AddressPageQuery query);
}
